package org.example.work2.at.account.service;


import org.example.work2.at.account.dto.Account;

import java.util.List;

public interface AccountService {

	/**
	 * 查询所有账户
	 */
    public List<Account> findAllAccount();

    /**
           * 创建一个账户
     * @param account
     * @return
     */
    public int insertAccount(Account account);
	
	public Account findAccountByCode(String accountCode);

	public boolean updateScores(Account account) throws Exception;
}
